package cn.sytton.taffe.web.sys.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 授权
 *
 * @author skyrock
 */
@Schema(description = "权限")
@Data
public class Auth {

    @Schema(description = "角色ID")
    private String roleId;

    @Schema(description = "部门ID")
    private String deptId;

    @Schema(description = "职位ID")
    private String positionId;

    @Schema(description = "添加的菜单ID数组")
    private List<String> addMenuIds;

    @Schema(description = "添加的功能Key数组")
    private List<String> addMenuIdFuncKeys;

    @Schema(description = "删除的菜单ID数组")
    private List<String> deleteMenuIds;

    @Schema(description = "删除的功能Key数组")
    private List<String> deleteMenuIdFuncKeys;
}
